/* html{
    background-image: url("../image/background.webp");
} */
/* 头部样式 */
header {
    width: 100%;
    height: 50px;
    min-width: 900px;
    background-color: var(--headerBgColor);
    color: var(--headerFontColor);
    font-family: var(--headerFontFamily);
    overflow: hidden;
}

header .h_logo {
    width: 150px;
    height: 100%;
    background-color: rgb(122, 122, 122);
    text-align: center;
    line-height: 50px;
    float: left;
    overflow: hidden;
}

header .h_logo a {
    color: var(--headerFontColor);
    font-family: "";
}

header .h_nav {
    width: 300px;
    height: 100%;
    float: left;
    overflow: hidden;
}

header .h_nav ul {
    overflow: hidden;
    height: 100%;
}

header .h_nav ul li {
    float: left;
    overflow: hidden;
    width: 60px;
    height: 100%;
    text-align: center;
    line-height: 50px;
    transition: all .3s ease;
}

header .h_nav ul li a {
    color: var(--headerUrlFontColor);
    display: inline-block;
    width: 100%;
    height: 100%;
}

header .h_nav ul li:hover,
header .h_nav ul li:hover a {
    background-color: rgb(212, 211, 211);
    color: #000;
}

header .h_searc {
    width: 200px;
    height: 100%;
    float: right;
    /* background-color: aliceblue; */
}

header .h_searc form {
    width: 100%;
    height: 100%;
    position: relative;
    cursor: pointer;
}

header .h_searc form input[type="image"] {
    position: absolute;
    width: 30px;
    height: 30px;
    left: 10px;
    border-right: 1px rgba(255, 255, 255, 0.385) solid;
    border-radius: 5px 0 0 5px;
    top: 10px;
}

header .h_searc form input[type="text"] {
    position: absolute;
    left: 40px;
    height: 30px;
    top: 10px;
    background: none;
    display: none;
    border: 1px rgba(255, 255, 255, 0.385) solid;
    border-left: none;
    color: var(--headerFontColor);
    text-indent: 10px;
    width: 0px;
    transition: all .5s;
}

/* 头部样式 */
/* 导航栏样式 */
#nav {
    position: fixed;
    z-index: 99;
    top: 100px;
}

#nav ul li {
    display: flex;
    width: 40px;
    height: 40px;
    ;
    background-color: rgba(68, 68, 68, 0.615);
    margin: 5px;
    border-radius: 10px;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--headerFontColor);
    user-select: none;
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    transition: all .3s ease;
}

#nav ul li:hover {
    background-color: rgba(115, 251, 84, 0.705);
}

/* 导航栏样式 */
/* 内容样式 */
#main {
    width: 900px;
    background: rgba(205, 205, 205, 0.8);
    margin: 0 auto;
    margin-top: 20px;
    border-radius: 20px;
}

#main div {
    height: 500px;
    ;
}

#main .con_wrap {
    position: relative;
}

#main .con_wrap .l_nav {
    width: 200px;
    height: 100%;
    float: left;
    display: flex;
    justify-content: center;
    padding: 50px 0;
    box-sizing: border-box;
    position: relative;
}

#main .con_wrap .l_nav ul {
    width: 100%;
    position: absolute;
    z-index: 8;
}

#main .con_wrap .l_nav ul li {
    width: 100%;
    height: 50px;
    text-align: center;
    cursor: pointer;
    line-height: 50px;
}

#main .con_wrap .l_nav ul li.c_w_l_nav:hover {
    background-color: rgba(154, 154, 154, 0.8);
}

#main .con_wrap .l_nav div.nav_content {
    width: 350px;
    height: 100%;
    position: absolute;
    top: 0;
    left: 200px;
    box-sizing: border-box;

}

#main .con_wrap .l_nav div.nav_content div {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    left: -100%;
    z-index: -7;
    background-color: rgba(249, 249, 249, 0.7);
    border-top: #fff 1px solid;
    border-right: #fff 1px solid;
    border-bottom: #fff 1px solid;
    transition: all 0.5s;
}

#main .con_wrap .l_nav div.nav_content div.c_w_active {
    opacity: 1;
    z-index: 9;
    left: 0;

}

#main .con_wrap .l_nav div.nav_content div ul {
    max-height: 100%;
    overflow: hidden;
}

#main .con_wrap .l_nav div.nav_content div ul li {
    width: 50%;
    float: left;
    overflow: hidden;
    text-shadow: 0.5px 0.5px 0.5px #000;
    font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
}

#main .con_wrap .l_nav div.nav_content div ul li a:hover {
    color: red;
    text-decoration: underline;
}

/* banner */
#main .con_wrap .wrap {
    width: 700px;
    height: 100%;
    float: right;
    background-color: rgb(143, 211, 246);
    position: relative;
}

#main .con_wrap .wrap .wrap_image {
    position: absolute;
    width: 100%;
    height: 100%;
}

#main .con_wrap .wrap .wrap_image ul {
    width: 100%;
    height: 100%;
    border-radius: 20px;
}

#main .con_wrap .wrap .wrap_image ul li {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
}

#main .con_wrap .wrap .wrap_image ul li::before {
    content: " ";
    position: absolute;
    display: inline-block;
    width: 100%;
    height: 2px;
    border-top: 0.5px rgba(234, 234, 234, 0.759) solid;
    background-color: rgba(255, 111, 111, 0.759);
    z-index: 5;
    bottom: 0;
}

#main .con_wrap .wrap .wrap_image ul li img {
    width: 100%;
    height: 100%;
}

#main .con_wrap .wrap .wrap_image ul li.active {
    z-index: 6;
    opacity: 1;
}

#main .con_wrap .wrap .wrap_image ul li.active::before {
    animation: warp_ani 5s ease;

}

@keyframes warp_ani {
    from {
        width: 0;
    }

    to {
        width: 100%;
    }
}

#main .con_wrap .wrap .wrap_radius {
    position: absolute;
    height: 50px;
    width: 150px;
    z-index: 6;
    bottom: 0;
    left: 50%;
    margin-left: -75px;
}

#main .con_wrap .wrap .wrap_radius ul li {
    width: 10px;
    height: 10px;
    background-color: rgba(255, 255, 255, 0.8);
    float: left;
    margin: 10px;
    border-radius: 50%;
    cursor: pointer;
}

#main .con_wrap .wrap .wrap_radius ul li.active {
    background-color: rgba(255, 111, 111, 0.8);
}

/* 唐诗宋词 */
#main .tssc .dv_title,
#main .gd .dv_title,
#main .jxmy .dv_title,
#main .zz .dv_title,
#main .jchd .dv_title {
    margin-top: 40px;
    margin-left: 10px;
    color: red;
    font-family: "宋体";
    font-size: 25px;
    letter-spacing: 5px;
    border-radius: 20px;
}

#main .tssc .dv_title a {
    float: right;
    margin-top: 20px;
    margin-right: 10px;
    color: red;
    font-family: "宋体";
    font-size: 20px;
    letter-spacing: 1px;
    border-radius: 20px;
}

#main .tssc .tssc_con {
    width: 90%;
    margin: 0 auto;
    border-radius: 20px;
    padding: 10px;
    margin-top: 20px;
    height: 450px;
    background-color: rgba(178, 178, 178, 0.8);
    border-radius: 20px;
}

#main .tssc .tssc_con .tssc_moive {
    width: 50%;
    height: 100%;
    float: left;
}

#main .tssc .tssc_con .tssc_moive p {
    height: 30px;
    margin: 10px 0 30px 5px;
    line-height: 30px;
    border-radius: 20px;
}

#main .tssc .tssc_con .tssc_moive p span {
    vertical-align: top;

}

#main .tssc .tssc_con .tssc_moive video {
    width: 95%;
}

#main .tssc .tssc_con .tssc_text {
    width: 50%;
    height: 100%;
    float: right;
}

#main .tssc .tssc_con .tssc_text ul {
    width: 100%;
    height: 49%;
}

#main .tssc .tssc_con .tssc_text ul li {
    overflow: hidden;
    margin: 2px;
    text-indent: 10px;
}

#main .tssc .tssc_con .tssc_text hr {
    color: #000;
}

#main .tssc .tssc_con .tssc_text ul li p {
    color: rgb(255, 255, 255)
}

#main .tssc .tssc_con .tssc_text ul li p:hover {
    color: rgb(255, 0, 0);
}

#main .tssc .tssc_con .tssc_text ul li span {
    float: right;
    display: inline-block;
    color: #cfcccc;
}

/* 古典 */
#main .gd .dv_title a {
    float: right;
    margin-top: 20px;
    margin-right: 10px;
    color: red;
    font-family: "宋体";
    font-size: 20px;
    letter-spacing: 1px;
}

#main .gd .gd_con {
    width: 95%;
    height: 90%;
    margin: 0 auto;
    margin-top: 20px;
    background-color: rgba(178, 178, 178, 0.8);
    ;
    position: relative;
}

#main .gd .gd_con .gd_con_topNav {
    position: relative;
    width: 100%;
    height: 30px;
    line-height: 30px;
    box-sizing: border-box;
    padding: 0 10px 0 10px;
    background-color: rgba(255, 255, 255, 0.6);
    overflow: hidden;
    transition: all .3s ease;
    z-index: 5;
}

#main .gd .gd_con .gd_con_topNav_active::before {
    content: " ";
    position: absolute;
    width: 100%;
    height: 100%;
    background: inherit;
    background-color: rgba(255, 255, 255, 0.4);
    filter: blur(5px);
    z-index: -1;
}

#main .gd .gd_con .gd_con_topNav_active {
    height: 120px;
    background-color: rgba(255, 255, 255, 0.8);
    text-shadow: 0.5px 0.5px 0.5px #000;
    backdrop-filter: blur(7px);
    -webkit-backdrop-filter: blur(7px);

}

#main .gd .gd_con .gd_con_topNav P {
    width: 95%;
    height: 30px;
    font-family: "楷体";
}

#main .gd .gd_con .gd_con_topNav P a {
    margin: 0 5px 0 5px;
}

#main .gd .gd_con .gd_con_topNav .gd_con_topNav_but {
    position: absolute;
    top: 0;
    right: 0;
    display: inline-block;
    width: 5%;
    height: 30px;
    text-align: center;
}

#main .gd .gd_con .gd_main {
    position: absolute;
    width: 100%;
    height: 93%;
    bottom: 0;
}

#main .gd .gd_con .gd_main ul {
    width: 100%;
    height: 100%;
}

#main .gd .gd_con .gd_main ul li {
    width: 45%;
    height: 120px;
    margin: 1% 2.5% 1% 2.5%;
    background-color: rgb(255, 255, 255);
    float: left;
    border-radius: 10px;
    overflow: hidden;
}

#main .gd .gd_con .gd_main ul li p.gd_main_title {
    height: 20px;
    text-indent: 10px;
    font-weight: bolder;
    background-color: #F0EFE2;
    padding: 4px;
}

#main .gd .gd_con .gd_main ul li p.gd_main_con {
    text-indent: 25px;
    height: 93px;
    overflow: hidden;
    background-color: #F0EFE2;
    text-overflow: ellipsis;
    word-break: break-all;
    cursor: default;
    padding: 0 5px;
}

/* 精选名言 */
#main .jxmy .dv_title a {
    float: right;
    margin-top: 20px;
    margin-right: 10px;
    color: red;
    font-family: "宋体";
    font-size: 20px;
    letter-spacing: 1px;
}

#main .jxmy .jxmy_con {
    width: 95%;
    height: 90%;
    overflow-y: scroll;
    margin: 20px auto;
    scrollbar-width: 100px;
    scrollbar-color: red;
}

#main .jxmy .jxmy_con::-webkit-scrollbar {
    width: 5px;
}

#main .jxmy .jxmy_con::-webkit-scrollbar-track {
    background-color: rgb(120, 120, 120);
}

#main .jxmy .jxmy_con::-webkit-scrollbar-thumb {
    background-color: pink;
    border-radius: 50%;
}

#main .jxmy .jxmy_con div.jxmy_con_items {
    width: 90%;
    height: auto;
    background-color: #F0EFE2;
    margin: 10px auto;
    box-sizing: border-box;
    padding: 10px;
    overflow: hidden;
    border-radius: 10px;
}

#main .jxmy .jxmy_con .jxmy_con_items .jxmy_con_contents {
    height: auto;
}

#main .jxmy .jxmy_con .jxmy_con_items .jxmy_con_contents p {
    font-size: 16px;
    font-family: "宋体";
}

/* 作者 */
#main .zz .dv_title a {
    float: right;
    margin-top: 20px;
    margin-right: 10px;
    color: red;
    font-family: "宋体";
    font-size: 20px;
    letter-spacing: 1px;
}

#main .zz .dv_title a:hover {
    color: aqua;
}

#main .zz .zz_con {
    width: 95%;
    height: 95%;
    margin: 10px auto 0 auto;
    background-color: rgb(196, 196, 196);
}

#main .zz .zz_con .zz_con_all {
    position: relative;
    width: 150px;
    height: 214px;
    background-color: aliceblue;
    float: left;
    margin: 1.2%;
    cursor: pointer;
    overflow: hidden;
}

#main .zz .zz_con .zz_con_all img.zz_con_sm_image {
    position: absolute;
    width: 100%;
}

#main .zz .zz_con .zz_con_all center {
    position: absolute;
    width: 100%;
    bottom: -20px;
    font-weight: bolder;
    transition: all .3s ease;
    background-color: rgba(178, 178, 178, 0.4);
}

#main .zz .zz_con .zz_con_details {
    position: absolute;
    width: 200px;
    height: auto;
    background-color: rgba(255, 255, 255, 0.8);
    box-sizing: border-box;
    padding: 5px;
    overflow: hidden;
    display: none;
    z-index: 5;
}

/* 精彩活动 */
#main .jchd {
    position: relative;
}

#main .jchd .dv_title a {
    float: right;
    margin-top: 20px;
    margin-right: 10px;
    color: red;
    font-family: "宋体";
    font-size: 20px;
    letter-spacing: 1px;
}

#main .jchd .jchd_con {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 450px;
    /* background-color: rgba(178, 178, 178,0.4); */
}

#main .jchd .jchd_con .jchd_play {
    width: 100%;
    height: 300px;
    position: relative;
}

#main .jchd .jchd_con .jchd_play img {
    width: 533px;
    height: 285px;
    position: absolute;
    left: 50%;
    margin-left: -266px;
    top: 50%;
    margin-top: -142px;
    box-shadow: 1px 1px 5px 1px rgb(107, 107, 107);
    opacity: 0;
}

#main .jchd .jchd_con .jchd_play video {
    width: 533px;
    height: 285px;
    position: absolute;
    left: 50%;
    margin-left: -266px;
    top: 50%;
    margin-top: -142px;
}

#main .jchd .jchd_con .jchd_list {
    width: 100%;
    height: 150px;
}

#main .jchd .jchd_con .jchd_list ul {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

#main .jchd .jchd_con .jchd_list ul li {
    width: 200px;
    height: 110px;
    background-color: aqua;
    margin: 5px;
    cursor: pointer;
    box-shadow: 1px 1px 5px 1px rgb(160, 160, 160);
}

#main .jchd .jchd_con .jchd_list ul li a img {
    width: 100%;
    height: 100%;

}

#main .jchd .jchd_con .jchd_list ul li a span {
    position: relative;
    display: inline-block;
    width: 100%;
    top: -20px;
    text-align: center;
    color: #000000;
    background-color: rgba(207, 204, 204, 0.7);
}

#main .jchd .jchd_con .jchd_list ul li a:hover span {
    color: red;
}

/* 内容样式 */



/* footer样式 */
#footer {
    width: 100%;
    min-width: 900px;
    padding: 20px 0;
    background-color: #cfcccc;
    margin-top: 10px;
    font-family: 'Courier New', Courier, monospace;
    color: rgb(252, 251, 251);
}